package com.qf;

import com.qf.dto.SearchDTO;
import com.qf.vo.PageResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 作者：Xx凯丶
 * 时间：2022/4/21 9:59
 */
@FeignClient("my-search")
@RequestMapping("/cinema")
public interface CinemaApi {
    @RequestMapping("/search")
    @ResponseBody
    public PageResultVo<Cinema> search(@RequestBody SearchDTO searchDTO);
    @RequestMapping("searchall")
    public ResultVo searchAll();
}
